package practice.枚举;

import org.dom4j.io.SAXReader;

public class 枚举优化代码 {
    public static void main(String[] args) {
        Student student1 = new Student("shibixiu", 23, MyEnum.MALE.TYPE);
        Student student = new Student("liuwei", 23, MyEnum.FEMALE.TYPE);

        System.out.println(student);
        System.out.println(student1);
    }
}
